//
//  TZPhotoScrollView.h
//  TZImagePickerController
//
//  Created by 程虎 on 2017/9/11.
//  Copyright © 2017年 谭真. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^PhotoScrollViewBlock)(NSArray *array);
typedef void(^PhotoScrollViewBlock1)(NSArray *array);
@interface TZPhotoScrollView : UIView

/**
 照片选着的最大张数
 */
@property (assign, nonatomic) NSInteger maxCountTF;
/**
 已选照片数
 */
//@property (assign, nonatomic) NSInteger mineCountTF;

/**
 每行显示的最大张数
 */
@property (assign, nonatomic) NSInteger columnNumberTF;

/**
 选择提示按钮 默认 YES
 */
@property (assign, nonatomic) BOOL showSelectBtn;
/**
 选择裁剪 默认 NO
 */
@property (assign, nonatomic) BOOL allowCrop;
/**
 选择圆形裁剪 默认 NO
 */
@property (assign, nonatomic) BOOL needCircleCrop;
/**
 裁剪尺寸 默认100
 */
@property (assign, nonatomic) NSInteger circleCropRadius;
/**
 添加在cell上
 */
@property (nonatomic, assign) BOOL isShowCell;

@property (nonatomic, copy) PhotoScrollViewBlock photoScrollBlcok;
@property (nonatomic, copy) PhotoScrollViewBlock1 photoScrollBlcok1;
/**
 类似发布新闻上传图片

 @param frame 大小
 @param showVC 当前承载的controller
 */
- (instancetype)initWithFrame:(CGRect)frame ShowVC:(UIViewController *)showVC;
/**
 用户头像
 @param frame 大小
 @param showVC 当前承载的controller
 */
- (instancetype)initWithFrame:(CGRect)frame ShowCellToVC:(UIViewController *)showVC;
@end
